<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>添加悦读</title>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<link href="css/form.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="js/ckeditor/ckeditor.js"></script>
		<script src="js/ckeditor/sample.js" type="text/javascript"></script>
		<link href="css/ckeditor/sample.css" rel="stylesheet" type="text/css" />
		
		<script type="text/javascript">
		//<![CDATA[
	var editor, html = '';
	
	function createEditor()
	{
		if (editor)
			return;
			
		// Create a new editor inside the <div id="editor">, setting its value to html
		var config = {};
		editor = CKEDITOR.appendTo( 'editor', config, html );
	}
	//]]>
		</script>
	</head>
	<body onload="createEditor()">
		<div id="container">
			<div id="middlecontent">
			<form action="RegisterServlet" method="post">
				<div id="divform">
					
						<div class="fielddiv">
							<label>
								文章标题:
							</label>
							<input type="text" name="username" />
						</div>
						<div class="fielddiv">
							<label>
								标签:
							</label>
							<input type="text" name="password" />
						</div>
						<div class="fielddiv">
							<label>
								权重:
							</label>
							<input type="text" name="dpassword" />
						</div>
						<div class="fielddiv">
							<label>
								发布者:
							</label>
							<input type="text" name="dpassword" />
						</div>
						<div class="fielddiv">
							<label>
								文章内容:
							</label>
							</div>
						</div>
						<div class="editordiv"><div id="editor"></div></div>

						<div class="center">
							<input type="submit" value="提交" class="buttom"/>
							<input type="reset" value="清空" class="buttom" />
						</div>

				</form>	
			</div>
		</div>
	</body>
</html>